package chapter7.quarter3;

import java.io.*;

public class FileToUnicode {
    public static void main(String[] args) {
        try {
            FileInputStream fis=new FileInputStream("./SelfTaught/src/chapter7/quarter3/FileToUnicode.java");
            InputStreamReader dis=new InputStreamReader(fis);
            BufferedReader reader=new BufferedReader(dis);

            String s;
            while ((s=reader.readLine())!=null){
                System.out.println("read:"+s);
            }

            reader.close();
            dis.close();
            fis.close();
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
